<?php error_reporting(0) ?>
<input 
    type="hidden" 
    value="<?php echo $item->Id ?>" 
    id="Id" name="Id"
    />
<form id="_form_edit_panel" name="_form_edit_panel" 
      action="" method="POST" onsubmit="return false;"
      target="integration_asynchronous" autocomplete="off">
    <div class="widget- row-fluid">
        <div class="well form-horizontal" style="border:none">
            
            <div class="control-group">
                <label class="control-label">Name :</label>
                <div class="controls">
                    <input type="text" 
                           class="span12 validate[required]"
                           data-prompt-position="topLeft:-1,-5"
                           id="Name" name="Name" 
                           value="<?php echo quotes_to_entities($item->Name) ?>"
                           />
                </div>
            </div>
            
			<div class="control-group">
                <label class="control-label">Title :</label>
                <div class="controls">
                    <input type="text" 
                           class="span12"
                           data-prompt-position="topLeft:-1,-5"
                           id="Title" name="Title" 
                           value="<?php echo quotes_to_entities($item->Title) ?>"
                           />
                </div>
            </div>
			
            <div class="control-group">
                <label class="control-label">Value :</label>
                <div class="controls">
					<textarea 
							rows="1"
							id="Value" name="Value" 
							class="span12 validate[required]"
							data-prompt-position="topLeft:-1,-5"
							><?php echo quotes_to_entities($item->Value) ?></textarea>
                </div>
            </div>
            
            <input type="hidden" 
				id="Type" name="Type" 
				value="<?php echo !empty($item->Type)?quotes_to_entities($item->Type):$type ?>"
				/>
            
            <div class="control-group">
                <label class="control-label">Desc :</label>
                <div class="controls">
                    <textarea 
                        rows="1"
                        id="Desc" name="Desc" class="span12"
                        ><?php echo quotes_to_entities($item->Desc) ?></textarea>

                </div>
            </div>
            <div class="control-group">
                <label class="control-label">&nbsp;</label>
                <div class="controls">
                    <div>
                        <?php if (!empty($item->Insert)) echo "Created  : $item->Insert" ?>
                    </div>
                    <div>
                        <?php if (!empty($item->Update)) echo "Modified : $item->Update" ?>
                    </div>
                </div>
            </div>
            
        </div>
    </div>
    
</form>